<template>
  <div class="operation_continer">
    <div class="operation_continer_title">操作栏</div>
    <!-- 根据需要 添加操作按钮 --------------------------------------------------------------------->
    <el-button type="primary" icon="el-icon-circle-plus-outline" @click="$emit('click_create_item')">新增分类</el-button>
    <!-- ----------------------------------------------------------------------------------------->
  </div>
</template>

<script>
export default {
  name: 'OperationBar',
  data() {
    return {
    }
  },
  methods: {
  }
}
</script>
<style lang="scss" scoped>
  .operation_continer {
    padding: 10px;
    margin-bottom: 20px;
    display: flex;
    background-color: white;
    border-radius: 5px;
    &_title {
      line-height: 36px;
      padding: 0 20px 0 0;
      font-weight: bold;
    }
  }
</style>
